package com.iflytek.uc.domain;

public class Relation {
	public enum Aggregation {
		ONE_TO_ONE,
		ONE_TO_MANY,
		MANY_TO_ONE,
		MANY_TO_MANY
	}
	
	private EntityType parent;
	private EntityType child;
	private Aggregation aggregation;

	public EntityType getParent() {
		return parent;
	}

	public void setParent(EntityType parent) {
		this.parent = parent;
	}

	public EntityType getChild() {
		return child;
	}

	public void setChild(EntityType child) {
		this.child = child;
	}

	public Aggregation getAggregation() {
		return aggregation;
	}

	public void setAggregation(Aggregation aggregation) {
		this.aggregation = aggregation;
	}
}
